<!DOCTYPE html>
<html lang="ch"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="../css/public.css" media="all">
</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">

        <fieldset class="table-search-fieldset">
            <legend>用户信息</legend>
            <div style="margin: 10px 10px 10px 10px">
                <!--数据的表格-->
                <form class="layui-form layui-form-pane">
                    <table class="layui-hide" id="TableId" lay-filter="currentTableFilter">
                        <table class="layui-table">
                            <tr>
                                <th>userid</th>
                                <th>email</th>
                                <th>firstname</th>
                                <th>lastname</th>
                                <th>addr1</th>
                                <th>city</th>
                                <th>zip</th>
                                <th>phone</th>
                            </tr>
                            <tr th:if="${accountList} eq null">
                                <td colspan="12">没有用户信息！！</td>
                            </tr>
                            <tr th:each="account : ${accountList}">
                                <td th:text="${account.username}"/>
                                <td th:text="${account.email}"/>
                                <td th:text="${account.firstname}"/>
                                <td th:text="${account.lastname}"/>
                                <td th:text="${account.address1}"/>
                                <td th:text="${account.city}"/>
                                <td th:text="${account.zip}"/>
                                <td th:text="${account.phone}"/>
                            </tr>
                        </table>
                    </table>
                </form>
            </div>
        </fieldset>

    </div>
</div>
<script src="../lib/layui-v2.6.3/layui.js" charset="utf-8"></script>

</body>
</html>